package com.navinfo.tripanalysis.service;

import com.navinfo.tripanalysis.common.arithmetic.common.OuterStatisticData;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.SparkSession;

import java.util.List;

/**
 * 保存行程数据服务
 * @author 沈东生
 */
public interface SaveTripService {

     void save(SparkSession spark, JavaSparkContext jsc, JavaPairRDD<Long, List<OuterStatisticData>> pairRDD, long d);
}
